MailPoet\Automation\Integrations\MailPoet\Actions\SendEmailAction A

Total Complexity 61
Dependencies 28
Dependents 5
Total lines 395
Lines of code 272
Logical lines of code 143
Comment lines 16
Methods 17
Properties 8

Methods 17

Method Rating Maintainability Complexity Lines of code
getSubscriber()
S
51 7 28
run()
S
50 7 26
storeNewsletterOption()
S
51 6 28
saveEmailSettings()
S
50 6 28
checkSendingStatus()
S
55 6 19
getArgsSchema()
S
52 5 22
isTransactional()
S
57 5 18
handleEmailSent()
S
55 4 20
getEmailForStep()
S
58 4 15
validate()
S
58 3 16
getNewsletterMeta()
S
59 2 15
getKey()
S
81 1 3
getSubjectKeys()
S
76 1 5
getName()
S
79 1 3
automationHasWooCommerceTrigger()
S
68 1 8
automationHasAbandonedCartTrigger()
S
68 1 8
__construct()
S
64 1 10